<?php exit;
if($IsAdjustPostSortRank){
    if($isfirst) {
        if(isset($trank)) {
            $trank2 = param_null('trank');
			if($trank2 !== null){
            if ($trank2 != 0)
                $trank2= intval($trank2);
            if($trank2 != $trank)
                $arr['trank'] = $trank2;
			}
        }
    }
    else{
        if(isset($prank)) {
            $prank2 = param_null('prank');
			if($prank2 !== null){
            if ($prank2 != 0)
                $prank2 = intval($prank2);
            if($prank2 != $prank)
                $postupd['prank'] = intval($prank2);
			}
        }
    }
}


